package com.lh.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.lh.common.entity.state.STATE;

/**
 * @author FH
 * @ClassName: ActivityStatusEnum
 * @Description: (类作用)
 * @date: 2020-05-14 16:47
 */
public enum ActivityStatusEnum implements IEnum<String> {
    NOTSTARTED(STATE.ST1), //未开始
    UNDERWAY(STATE.ST2), //进行中
    FINISH(STATE.ST3); //已结束
    // 定义私有变量
    private String status;

    ActivityStatusEnum(String status) {
        this.status = status;
    }

    @Override
    public String getValue() {
        return status;
    }
}
